'use strict';

import Base from './base.js';

export default class extends Base {
  
  * openAction(){
    // console.log(this.http.socket.user);
  }

  * closeAction(){

    let rooms = this.leaveRoom();

    // this.emit("disconnect", socket.id);

    rooms.forEach( (roomid)=>{
        this.report({
            room: roomid
        });
    });
    
  }
}